﻿app.controller('BootstrapIntegrationCtrl', BootstrapIntegrationCtrl);


function BootstrapIntegrationCtrl() {
    
    $('#gridDemo').DataTable({
        "ajax": {
            "url": "data/objects_root_array.txt",
            "dataSrc": ""
        },
        "language": {
            "url": "js/ext/dataTables/cn.txt"
        },
        "columns": [
			{ "data": "name","title":"姓名" },
			{ "data": "position","title":"职位" },
			{ "data": "office","title":"办公室" },
			{ "data": "extn","title":"备注" },
			{ "data": "start_date","title":"入职日期" },
			{ "data": "salary","title":"工资" }
        ]
    });

    
}